package study.spring.aspect;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AspectMain {

	public static void main(String[] args) {
		
		ApplicationContext context=new ClassPathXmlApplicationContext("bean.xml", AspectMain.class);
		
		Foo foo=(Foo) context.getBean("foo");
		
		foo.execute();
		
	}

}
